<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.augmentum.login.model.User"%>
<%@ page import="com.augmentum.login.Constants"%>
<%@ page import="com.augmentum.login.util.Prop"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String basePath = request.getContextPath();
    String staticPath = Prop.get(Constants.STATIC_PATH);
    User user = (User) request.getSession().getAttribute(Constants.USER);
%>
 <script type="text/javascript">
          $(document).ready(function(){
              $("#confirmId").click(function(){
                  location.href = '<%= basePath%>' + "/page/user/logout";
                });
          });
  </script>
<div id="topId" class="common">
  <div class="common top common-width bgcolor-style01">
    <div class="top-left top common float-left half-width">
      <div class="float-left common-height">
          <img style="margin-top:20px;margin-bottom:20px;margin-left:20px" alt="title" src="<%=staticPath%>/images/OES_Web_Slice/LOGO_Web_40x240.png" />
      </div>
      <div class="float-left">
        <span class="font-style02 block02 color-style03">
          <span style="display:block;margin-top:30px">Online Exam Web System</span>
        </span>
      </div>
    </div>
    <div class="common top float-left common-height half-width">
      <div class="half-height color-style04">
        <span style="line-height:20px;padding-right:10px" class="font-style04 color-style03 float-right margin-style01">中文</span>
      </div>
      <div class="half-height">
        <span style="line-height:20px" class="font-style03 color-style03 float-right margin-style01">
          <span class="float-right">
            <span style="margin-left:30px;margin-right:10px;cursor:pointer" class="logoutbtn float-right">Logout</span>
            <span class="float-right" style="margin-left:10px"><%= user.getName()%></span>
            <img class="float-right" alt="head" src="<%=staticPath%>/images/OES_Web_Slice/ICN_Web_PersonalInformation_20x20.png" />
          </span>
        </span>
        <span style="clean: both"></span>
      </div>
    </div>
  </div>
  <div style="height:50px" class="common common-width">
    <div style="width:45%" class="float-left common common-height">
      <span style="width:50px" class="float-left common-height"></span>
      <span onclick="javascript:location.href='<%= basePath%>/page/question/search'" onmouseover="getPoint(this)" onmouseout="lostPoint(this)" style="width:200px;cursor:pointer"
        class="span-block float-left layout-center font-style05 color-style01"> Question Management </span>
        <span style="width:20px" class="float-left common-height"></span>
        <span onclick="javascript:location.href='<%= basePath%>/page/exam/search'" onmouseover="getPoint(this)" onmouseout="lostPoint(this)" style="width:200px;cursor:pointer"
        class="span-block float-left layout-center font-style05 color-style01"> Exam Management </span>
    </div>
    <div style="width: 30%;" class="float-left common common-height"></div>
    <div style="width: 25%;" class="float-left common common-height"></div>
  </div>
  <jsp:include page="logout-frame.jsp"></jsp:include>
</div>